﻿namespace Digitalmes.Domain.Enums;

/// <summary>
/// 工单状态
/// </summary>
[Description("工单状态")]
public enum WoStatusEnum
{
    /// <summary>
    /// 已创建
    /// </summary>
    [Description("已创建")]
    Created = 10,

    /// <summary>
    /// 已排产
    /// </summary>
    [Description("已排产")]
    Scheduled = 20,

    /// <summary>
    /// 已下发
    /// </summary>
    [Description("已下发")]
    Issued = 30,

    /// <summary>
    /// 生产中
    /// </summary>
    [Description("生产中")]
    Executing = 40,

    /// <summary>
    /// 已完成
    /// </summary>
    [Description("已完成")]
    Completed = 50,

    /// <summary>
    /// 已暂停
    /// </summary>
    [Description("已暂停")]
    Paused = 60,

    /// <summary>
    /// 已冻结
    /// </summary>
    [Description("已冻结")]
    Freezed = 70,

    /// <summary>
    /// 已取消
    /// </summary>
    [Description("已取消")]
    Canceled = 80,
}
